home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / D-G / Extension Shell 1.3.sit / Extension Shell 1.3 ƒ / Sample Extensions / Quadra INIT ƒ / CodeConstants.h / CodeConstants.h
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.1 KB  |  34 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         CodeConstants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for various Extension specific constants
  9.  
  10.     NOTES:
  11.         •    The defines in this file serve as indexes into the code details array
  12.             that's embedded in a ESParamBlock, for interpreting the value of
  13.             errorIndex, and for indexing into an address table.
  14.         
  15.         •    It's also a good idea to use this file to define the various resource
  16.             types/IDs that your Extension uses.
  17.         
  18.     ___________________________________________________________________________
  19. */
  20. #ifndef __CODECONSTANTS__
  21. #define __CODECONSTANTS__
  22. //=============================================================================
  23. //        Defines                                                                 
  24. //-----------------------------------------------------------------------------
  25. #define kMacType                    1                            // Index into arrays
  26. #define kMacTypeAddressTable        'QuIn'                        // Address table selector
  27. #define kMacTypeSelectorType        gestaltMachineType            // Gestalt type of selector
  28. #define kMacTypeSelectorResType        'CODE'                        // Resource type of selector code
  29. #define kMacTypeSelectorResID        128                            // Resource id of selector code
  30.  
  31.  
  32.  
  33. #endif
  34.